package com.hxzy.mybatis.pojo;

import lombok.*;

/**
 * @author wzm
 * @create 2023-09-26 9:44
 * project_name:javaweb2308
 */
//与数据库对应的实体类



//@Getter //get
//@Setter //ser
//@ToString //toString
//@EqualsAndHashCode //equals hashCode

@Data //包含get set toString equals方法
@NoArgsConstructor //空参构造
@AllArgsConstructor //全参数构造
public class User {
    private Integer id;
    private String name;
    private Short age;
    private Short gender;
    private  String phone;
}
